import { EggPlugin } from 'egg';

const plugin: EggPlugin = {

  mysql: {
    enable: true,
    package: 'egg-mysql',
  },
  validate: {
    enable: true,
    package: 'egg-validate',
  },
  cors: {
    enable: true,
    package: 'egg-cors',
  },
  // session: {
  //   enable: false,
  //   package: "egg-session",
  // },
  jwt: {
    enable: true,
    package: "egg-jwt"
  },
};
export default plugin;
